package com.xoa.dao.guideGoal;

import com.xoa.model.guideGoal.GuideGoal;
import com.xoa.model.guideGoal.GuideGoalExample;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface GuideGoalMapper {

    int countByExample(GuideGoalExample example);
    int deleteByExample(GuideGoalExample example);
    int deleteByPrimaryKey(Integer sid);
    int insert(GuideGoal record);
    int insertSelective(GuideGoal record);
    List<GuideGoal> selectByExample(GuideGoalExample example);
    GuideGoal selectByPrimaryKey(Integer sid);
    int updateByExampleSelective(@Param("record") GuideGoal record, @Param("example") GuideGoalExample example);
    int updateByExample(@Param("record") GuideGoal record, @Param("example") GuideGoalExample example);
    int updateByPrimaryKeySelective(GuideGoal record);
    int updateByPrimaryKey(GuideGoal record);

    public List<GuideGoal> getSupManageByTypeId(HashMap<String, Object> maps);

    int addSupervision(GuideGoal guideGoal);

    public void deleteSupervisionBySid(Integer sid);

    public List<GuideGoal> selectCountList(GuideGoal guideGoal);

    public int queryCountSupervisionByStatus();

    public GuideGoal getSupAssistDetail(GuideGoal guideGoal2);

    GuideGoal queryCountSupervisionByStatus(GuideGoal paraSup);

    public List<GuideGoal> getSupApplyTaskList1(GuideGoal paraSup);

    GuideGoal queryCountByType(GuideGoal paraSup);
    /**
     * 创建作者:   杨 胜
     * 创建日期:   2017-8-3 下午5:53:57
     * 方法介绍:
     * 参数说明:   @return
     * @return     Supervision
     */
    GuideGoal queryCount();

    int updateSupervision(GuideGoal guideGoal);

    Integer getSupManageByTypeIdCount(HashMap<String, Object> maps);
}